-- GENERATED SPELL FOR [Plaguehound] --


function spell0_8597(pUnit, Event) --@Infected Wound,n/a--
pUnit:FullCastSpellOnTarget(3427,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8597', 30314, 1)
end

function Sorts_8597(pUnit, Event)
local choix_sorts_8597 = math.random(0, 0)
if choix_sorts_8597 == 0 then
pUnit:RegisterEvent('spell0_8597', 1, 1)
end
end

function mob8597_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8597', math.random(1500, 3000), 1)
end

function mob8597_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8597_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8597_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8597, 1, 'mob8597_Action')
RegisterUnitEvent(8597, 2, 'mob8597_Leave')
RegisterUnitEvent(8597, 3, 'mob8597_Kill')
RegisterUnitEvent(8597, 4, 'mob8597_Die')
